<jsp:include page="data?view=food&action=detail" />
<h2>Food Detail</h2>
<hr />
<form action="service?do=edit&act=food" method="post">
    <input type="hidden" name="txtId" value="${food.id}" />
    <table>
        <tbody>
            <tr>
                <td>Name: </td>
                <td><input type="text" name="txtName" value="${food.name}" ></td>
            </tr>
            <tr>
                <td>Price </td>
                <td><input type="text" name="txtPrice" value="${food.price}" ></td>
            </tr>
            <tr>
                <td>Description: </td>
                <td><textarea name="taDescription">${food.description}</textarea></td>
            </tr>
            <tr>
                <td colspan="2">
                    <input type="submit" value="Update" />
                    &nbsp;
                    <input type="reset" value="Reset" />
                </td>
            </tr>
        </tbody>
    </table>
</form>